package xyz.zhouzhaodong.crm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 高校-专业表
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-22
 */
public class UniversitySpecialty implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 高校id
     */
    private String universityId;

    /**
     * 学位
     */
    private String degree;

    /**
     * 专业
     */
    private String specialty;

    /**
     * 授课语言
     */
    private String instructionLanguage;

    /**
     * 申请截止日期
     */
    private String closeDate;

    /**
     * 入学季
     */
    private String admissionSeason;

    /**
     * 学费
     */
    private String tuition;

    /**
     * 奖学金
     */
    private String scholarship;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否有效（0有效，1无效）
     */
    private Integer flag;

    /**
     * 创建人id
     */
    private String createUser;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新人
     */
    private String updateUser;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public String getCloseDate() {
        return closeDate;
    }

    public void setCloseDate(String closeDate) {
        this.closeDate = closeDate;
    }

    public String getAdmissionSeason() {
        return admissionSeason;
    }

    public void setAdmissionSeason(String admissionSeason) {
        this.admissionSeason = admissionSeason;
    }

    public String getTuition() {
        return tuition;
    }

    public void setTuition(String tuition) {
        this.tuition = tuition;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUniversityId() {
        return universityId;
    }

    public void setUniversityId(String universityId) {
        this.universityId = universityId;
    }
    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }
    public String getInstructionLanguage() {
        return instructionLanguage;
    }

    public void setInstructionLanguage(String instructionLanguage) {
        this.instructionLanguage = instructionLanguage;
    }
    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }
    public String getScholarship() {
        return scholarship;
    }

    public void setScholarship(String scholarship) {
        this.scholarship = scholarship;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "UniversitySpecialty{" +
                "id='" + id + '\'' +
                ", universityId='" + universityId + '\'' +
                ", degree='" + degree + '\'' +
                ", specialty='" + specialty + '\'' +
                ", instructionLanguage='" + instructionLanguage + '\'' +
                ", closeDate='" + closeDate + '\'' +
                ", admissionSeason='" + admissionSeason + '\'' +
                ", tuition='" + tuition + '\'' +
                ", scholarship='" + scholarship + '\'' +
                ", remark='" + remark + '\'' +
                ", flag=" + flag +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
